package ar.edu.unq.wannaplay.dtos;

import java.io.Serializable;

public class TypeOfLicenceDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private String name;

    private int anualMax;

    private int consecutiveMax;

    public TypeOfLicenceDTO() {
        super();
    }

    public TypeOfLicenceDTO(final String name, final int anualMax, final int consecutiveMax) {
        super();
        this.name = name;
        this.anualMax = anualMax;
        this.consecutiveMax = consecutiveMax;
    }

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public int getAnualMax() {
        return anualMax;
    }

    public void setAnualMax(final int anualMax) {
        this.anualMax = anualMax;
    }

    public int getConsecutiveMax() {
        return consecutiveMax;
    }

    public void setConsecutiveMax(final int consecutiveMax) {
        this.consecutiveMax = consecutiveMax;
    }

    @Override
    public String toString() {
        return name + ", " + anualMax + ", " + consecutiveMax;
    }
}
